/**
 * @author： pang-yun
 * @date： 2021-09-03 15:55
 * 功能目的 ：用于
 */

public class CombineIntLong {
    public static long combineInt2Long(int low, int high) {
        return (long)low & 4294967295L | (long)high << 32 & -4294967296L;
    }

    public static void main(String[] args) {
        long l = CombineIntLong.combineInt2Long(1, 2);
        System.out.println(l);
    }
}
